home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
scoobycastillotenebroso.swf
/
scripts
/
DefineButton2_2305
/
BUTTONCONDACTION on(release, releaseOutside).as
< prev
Wrap
Text File
|
2007-10-01
|
479b
|
19 lines
on(release, releaseOutside){
if(this.hitTest(_root.environnement1.ghost_flag.hit_ghost))
{
this.swapDepths(_parent.swap);
_root.environnement1.ghost_flag.gotoAndPlay("covered");
stopDrag();
set("_root.controler:drag_this",false);
this._visible = false;
}
else
{
this.swapDepths(_parent.swap);
stopDrag();
set("_root.controler:drag_this",false);
this._x = -10.2;
this._y = -10.5;
}
}